#include <stdio.h>
#include <ctype.h>
int main(void)
{
    int count = 0;
    printf("Enter a sentence: ");
    char ch;
    while ((ch = getchar()) != '\n') {
        if (toupper(ch) == 'A' || toupper(ch) == 'E' || toupper(ch) == 'I' || toupper(ch) == 'O' || toupper(ch) == 'U')
            count++;
    }
    printf("Your sentence contains %d vowels.\n", count);
    return 0;
}